package xcmg.device.service.vo.warehouse.allot;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import xcmg.device.dao.entity.WarehouseArea;

import java.util.Date;
import java.util.List;

@Data
public class RegionAllotVO extends WarehouseArea{
    private String id;

    private String allotOrder;

    private String inLocation;

    private String outLocation;

    private Integer inState;

    private Integer outState;

    private String moveType;

    private String createId;

    private String createName;

    private Date createDate;

    private String deptName;

    private String orgId;

    private Integer isSynSap;

    private String sapInOrder;

    private String sapOutOrder;

    private String deptId;

    private Date createDateStart;

    private Date createDateEnd;

    private String voucherInNo;

    private String voucherOutNo;


    private String sapErrorMsg;

    private String sapCode;

    private String billStatus;

    private String statusDesc;

    private String auditId;

    private Date auditDate;

    private String auditMessage;

    private String AuditName;

    private String dispatcherId;

    private String dispatcherName;

    private String crmOrder;

    /** 收货人*/
    private String receiveUser;

    /** 联系方式*/
    private String receiveTel;

    /** 收货地址*/
    private String receiveAddress;

    private Integer postOutStatus;

    private Integer postInStatus;

    /**区域调拨计划ID*/
    private String allotPlanId;

    /**区域调拨计划单号*/
    private String allotPlanOrder;

    //仓库描述
    @ApiModelProperty(value = "入库仓库描述")
    private String inWarehouseCodeDesc;

    //仓库描述
    @ApiModelProperty(value = "出库仓库描述")
    private String outWarehouseCodeDesc;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }

    private String threeReverseId;

    private String threeReverseType;

    //塔机v.1.9新增需求
    //默认：5(三包备件)
    private Integer allotType;
    //区域调拨类型描述
    private String allotTypeDesc;

    //调入仓库名称
    private String inWarehouse;
    //调出仓库名称
    private String outWarehouse;
    //pms原单号
    private String pmsCode;
    //销售时间
    private Date saleTime;
    //允许查看仓库
    private List<String> warehousePermitList;

    private String inArea;

    private String outArea;

    private String syncCrmFlag;

    private String syncCrmMsg;

    private String materialsNo;

    private String syncSfFlag;

    private String syncSfMsg;
}
